﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace Universum.Model.Services
{
	public interface IFileService
	{
		bool FileExists(string filePath);
		bool DirectoryExists(string directoyPath);
		Stream GetStreamFor(string filePath);
		
		void WriteToDiskFrom(System.Web.HttpPostedFileBase resourceFile, string path);

		void WriteDirectory(string newFolderName, string path);

		IList<string> GetAllDirectoriesFor(string path);

		IList<string> GetAllFilesFor(string path);

		void DeleteFolder(string path);

		void DeleteFile(string p);
	}
}
